package example.service;

import com.github.pagehelper.PageInfo;
import example.entity.Users;

import java.util.List;

public interface UsersService {
    Users queryById(Integer uid);
    List<Users>queryAll(Users users);

    List<Users>findAll();
    List<Users>queryAllByLimit(int offset,int limit);
    PageInfo<Users>queryAllByPage(Users users,Integer pageNum,Integer pageSize);
    Users insert(Users users);
    Users update (Users users);
    boolean deleteById(Integer uid);
}
